/**
 * Created by 小敏哥 on 2017/9/12.
 */
import React, {Component} from 'react';
import AlipayJSOperation from '../../utils/alipayJSOperation';
import PageBar from '../../components/common/pageBar';


class ServiceDetail extends Component {
    constructor(props) {
        super(props);
    }


    componentDidMount() {
        //隐藏标题栏右键
        AlipayJSOperation.setRightButtonStatus(false);
        //设置标题
        AlipayJSOperation.setTitle('年检服务详情');
        document.querySelector("title").innerHTML = "年检服务详情";
    }

    render(){
        return <div>
            <PageBar title="年检服务详情" />
            <img style={{width:'100%'}} src={this.props.params.inspectionType==1?'./images/serviceDetail1.png':'./images/serviceDetail2.png'}/>
        </div>
    }
}

export default ServiceDetail